﻿#ifndef TABLE_ROW_OPERATOR_WIDGET_H
#define TABLE_ROW_OPERATOR_WIDGET_H

#include <QWidget>
#include "global_manager.h"

namespace Ui {
class TableRowOperatorWidget;
}

class TableRowOperatorWidget : public QWidget
{
    Q_OBJECT

public:
    explicit TableRowOperatorWidget(QWidget *parent = nullptr);
    ~TableRowOperatorWidget();
    void setTableData(PrjTableData* tableData);
    PrjTableData* tableData();

private:
    void initEvents();

signals:
    void editData();
    void deleteData();

private:
    Ui::TableRowOperatorWidget *ui;
    PrjTableData*               m_tableData;
};

#endif // TABLE_ROW_OPERATOR_WIDGET_H
